package com.wolfword.common.domain;


/**
 * 方法执行结果
 * @author ServerZhang
 * @date 2017年12月1日
 */
public class ExecutionResult {

	private Boolean isSuccess = null;//执行结果
	private String information = null;//执行反馈
	private Object data = null;//执行得到的数据
	
	public ExecutionResult(){
		isSuccess = true;
		information = "执行成功";
	}
	public ExecutionResult(Boolean isSuccess, String information){
		this.isSuccess = isSuccess;
		this.information = information;
	}
	
	public ExecutionResult(Boolean isSuccess, String information, Object data){
		this.isSuccess = isSuccess;
		this.information = information;
		this.data = data;
	}
	
	
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public Boolean getIsSuccess() {
		return isSuccess;
	}
	public void setIsSuccess(Boolean isSuccess) {
		this.isSuccess = isSuccess;
	}
	public String getInformation() {
		return information;
	}
	public void setInformation(String information) {
		this.information = information;
	}
	
}
